<?php
# ----------------------------------------------- #
#  CosmoPHP écrit par menTiss (Aurélien Chevron)  #
#									    	#
# besoin d'aide ? ====> http://www.cosmophp.net/  #
#								 	     #
# ----------------------------------------------- #

/* 	     Fichier de configuration du site 		*/


# ----------------------------------------------- #
# 	  	 Configuration des chemins 			#
# ----------------------------------------------- #
define('SYSTEM_PATH',			'../../system/') ;
define('PATH_LOG',				SYSTEM_PATH.'log/') ;
define('SITE_PATH', 			'../') ;
define('TEMPLATE_PATH', 			SITE_PATH.'template/') ;
define('TEMPLATE_COMPILE_PATH', 	SITE_PATH.'template_c/') ;
define('CONF_PATH', 			SITE_PATH.'config/') ;

# ----------------------------------------------- #
# 	 Configuration des options du système		#
# ----------------------------------------------- #
/* Définition du niveau de log :
0 - no log
1 - only error
2 - error and debug
3 - error, debug and info
4 - error and info
*/
define('LOG_LEVEL', 			3) ;
/* Define level of error system :
E_ALL 	- display all error
E_NOTICE 	- display only notice error
E_WARNING - display only warning error
E_ERROR	- display only critical error

You can use one of theses or combine them like that : E_WARNING.'|'.E_ERROR
*/
define('ERROR_LEVEL',			E_ALL) ;
define('BASE_URL',				'http://localhost/') ;

# ----------------------------------------------- #
#	      Configuration des sessions		  	#
# ----------------------------------------------- #
define('SESSION_KEY', 			'myPersonnalKeySession') ;
/* Time is in minutes */
define('SESSION_EXPIRE', 		30) ;

# ----------------------------------------------- #
# 	 Configuration du nom de l'application		#
# ----------------------------------------------- #
define('SITE_NAME', 			'CosmoPHP Framework') ;

# ----------------------------------------------- #
# 	   	Configuration des templates			#
# ----------------------------------------------- #
define('FOOTER_TEMPLATE', 		'footer') ;
define('HEADER_TEMPLATE', 		'header') ;
define('SMARTY_CACHE', 			0) ;

# ----------------------------------------------- #
#	 Configuration de l'extension utilisée	     #
# ----------------------------------------------- #
define('EXT', 					'.php') ;
?>